package com.ziytek.web.citizen.model.data;

import com.ziytek.web.citizen.model.bean.CapStatsVo;
import lombok.Data;

/**
 * @author fengh
 */
@Data
public class OneBattery {
    /**
     * 位置 1-字节  0xAA
     */
    //private Integer position;
    private Integer p;

    /**
     * 电流 2-字节  0xAA00
     */
    //private Integer current;
    private Integer c;

    /**
     * 电压 2-字节  0xAA00
     */
    //private Integer voltage;
    private Integer v;


    private CapStatsVo s;

    public OneBattery(Integer position, Integer current, Integer voltage) {
        this.c = current;
        this.v = voltage;
        this.p = position;
    }
}
